package com.jyxd.web.error;

/**
 * @author james
 */
public class JyxdException extends RuntimeException {

    private Integer code;

    public JyxdException(Integer code, String message) {
        super(message);
        this.code = code;
    }

    public JyxdException(String message) {
        super(message);
    }

    public JyxdException(String message, Throwable t) {
        super(message, t);
    }

    public JyxdException(Throwable t) {
        super(t);
    }

    public Integer getCode() {
        return code;
    }
}
